#include "matrixfunctions.h" 


int main()
{
	int mat[100][100];
	int row, col, k, i, j;
	cout<<"Number of rows : ";
	cin>>row;
	cout<<"Number of columns : ";
	cin>>col;
	readmatrix(mat, row, col);
	printmatrix(mat, row, col);
	cout<<"Column k to eliminate : ";
	cin>>k;
	for(i=0; i<row; i++)
		for(j=k; j<col-1; j++)
			mat[i][j]=mat[i][j+1];
	printmatrix(mat, row, col-1);
return 0;
}
